package com.estar.integaration.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.estar.integaration.entity.CartGoods;

import java.util.HashMap;
import java.util.List;

/**
 * Author: YJL
 * Date: 2021/11/19 14:17
 **/
public interface ICartGoodsService extends IService<CartGoods> {

    public List<CartGoods> getcartGoodsBycartId(String cartId);

    public void clearMyCartByCartId(String userId);

    public List<CartGoods> selectList(QueryWrapper queryWrapper);

    public HashMap<String,Double> getAllMaterialDepartNeedBuyByCartId(String userId);

    public List<CartGoods> selectCartGoodsByproductId(String productId);

}
